import Vue from 'vue'
import App from './App.vue'
import Update from './components/Update'

Vue.config.productionTip = false
//注册全局组件
Vue.component('Update',Update)
//全局过滤器
Vue.filter('formatDate',(value,format)=>{
  // console.log(value,format);
  return value.toUpperCase() + format.toUpperCase()
})

new Vue({
  render: h => h(App)
}).$mount('#app')
